package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class EmploymentQuestStatisticalExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmploymentQuestStatisticalExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStatisticalidIsNull() {
            addCriterion("statisticalId is null");
            return (Criteria) this;
        }

        public Criteria andStatisticalidIsNotNull() {
            addCriterion("statisticalId is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticalidEqualTo(Integer value) {
            addCriterion("statisticalId =", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidNotEqualTo(Integer value) {
            addCriterion("statisticalId <>", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidGreaterThan(Integer value) {
            addCriterion("statisticalId >", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidGreaterThanOrEqualTo(Integer value) {
            addCriterion("statisticalId >=", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidLessThan(Integer value) {
            addCriterion("statisticalId <", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidLessThanOrEqualTo(Integer value) {
            addCriterion("statisticalId <=", value, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidIn(List<Integer> values) {
            addCriterion("statisticalId in", values, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidNotIn(List<Integer> values) {
            addCriterion("statisticalId not in", values, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidBetween(Integer value1, Integer value2) {
            addCriterion("statisticalId between", value1, value2, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andStatisticalidNotBetween(Integer value1, Integer value2) {
            addCriterion("statisticalId not between", value1, value2, "statisticalid");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleIsNull() {
            addCriterion("questionnaireTitle is null");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleIsNotNull() {
            addCriterion("questionnaireTitle is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleEqualTo(String value) {
            addCriterion("questionnaireTitle =", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleNotEqualTo(String value) {
            addCriterion("questionnaireTitle <>", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleGreaterThan(String value) {
            addCriterion("questionnaireTitle >", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleGreaterThanOrEqualTo(String value) {
            addCriterion("questionnaireTitle >=", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleLessThan(String value) {
            addCriterion("questionnaireTitle <", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleLessThanOrEqualTo(String value) {
            addCriterion("questionnaireTitle <=", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleLike(String value) {
            addCriterion("questionnaireTitle like", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleNotLike(String value) {
            addCriterion("questionnaireTitle not like", value, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleIn(List<String> values) {
            addCriterion("questionnaireTitle in", values, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleNotIn(List<String> values) {
            addCriterion("questionnaireTitle not in", values, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleBetween(String value1, String value2) {
            addCriterion("questionnaireTitle between", value1, value2, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnairetitleNotBetween(String value1, String value2) {
            addCriterion("questionnaireTitle not between", value1, value2, "questionnairetitle");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlIsNull() {
            addCriterion("questionnaireURL is null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlIsNotNull() {
            addCriterion("questionnaireURL is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlEqualTo(String value) {
            addCriterion("questionnaireURL =", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlNotEqualTo(String value) {
            addCriterion("questionnaireURL <>", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlGreaterThan(String value) {
            addCriterion("questionnaireURL >", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlGreaterThanOrEqualTo(String value) {
            addCriterion("questionnaireURL >=", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlLessThan(String value) {
            addCriterion("questionnaireURL <", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlLessThanOrEqualTo(String value) {
            addCriterion("questionnaireURL <=", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlLike(String value) {
            addCriterion("questionnaireURL like", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlNotLike(String value) {
            addCriterion("questionnaireURL not like", value, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlIn(List<String> values) {
            addCriterion("questionnaireURL in", values, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlNotIn(List<String> values) {
            addCriterion("questionnaireURL not in", values, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlBetween(String value1, String value2) {
            addCriterion("questionnaireURL between", value1, value2, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireurlNotBetween(String value1, String value2) {
            addCriterion("questionnaireURL not between", value1, value2, "questionnaireurl");
            return (Criteria) this;
        }

        public Criteria andQuestionnumIsNull() {
            addCriterion("questionNum is null");
            return (Criteria) this;
        }

        public Criteria andQuestionnumIsNotNull() {
            addCriterion("questionNum is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionnumEqualTo(Integer value) {
            addCriterion("questionNum =", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumNotEqualTo(Integer value) {
            addCriterion("questionNum <>", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumGreaterThan(Integer value) {
            addCriterion("questionNum >", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("questionNum >=", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumLessThan(Integer value) {
            addCriterion("questionNum <", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumLessThanOrEqualTo(Integer value) {
            addCriterion("questionNum <=", value, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumIn(List<Integer> values) {
            addCriterion("questionNum in", values, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumNotIn(List<Integer> values) {
            addCriterion("questionNum not in", values, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumBetween(Integer value1, Integer value2) {
            addCriterion("questionNum between", value1, value2, "questionnum");
            return (Criteria) this;
        }

        public Criteria andQuestionnumNotBetween(Integer value1, Integer value2) {
            addCriterion("questionNum not between", value1, value2, "questionnum");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalIsNull() {
            addCriterion("optionStatistical is null");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalIsNotNull() {
            addCriterion("optionStatistical is not null");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalEqualTo(String value) {
            addCriterion("optionStatistical =", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalNotEqualTo(String value) {
            addCriterion("optionStatistical <>", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalGreaterThan(String value) {
            addCriterion("optionStatistical >", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalGreaterThanOrEqualTo(String value) {
            addCriterion("optionStatistical >=", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalLessThan(String value) {
            addCriterion("optionStatistical <", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalLessThanOrEqualTo(String value) {
            addCriterion("optionStatistical <=", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalLike(String value) {
            addCriterion("optionStatistical like", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalNotLike(String value) {
            addCriterion("optionStatistical not like", value, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalIn(List<String> values) {
            addCriterion("optionStatistical in", values, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalNotIn(List<String> values) {
            addCriterion("optionStatistical not in", values, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalBetween(String value1, String value2) {
            addCriterion("optionStatistical between", value1, value2, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andOptionstatisticalNotBetween(String value1, String value2) {
            addCriterion("optionStatistical not between", value1, value2, "optionstatistical");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoIsNull() {
            addCriterion("statisticalPhoto is null");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoIsNotNull() {
            addCriterion("statisticalPhoto is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoEqualTo(String value) {
            addCriterion("statisticalPhoto =", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoNotEqualTo(String value) {
            addCriterion("statisticalPhoto <>", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoGreaterThan(String value) {
            addCriterion("statisticalPhoto >", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoGreaterThanOrEqualTo(String value) {
            addCriterion("statisticalPhoto >=", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoLessThan(String value) {
            addCriterion("statisticalPhoto <", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoLessThanOrEqualTo(String value) {
            addCriterion("statisticalPhoto <=", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoLike(String value) {
            addCriterion("statisticalPhoto like", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoNotLike(String value) {
            addCriterion("statisticalPhoto not like", value, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoIn(List<String> values) {
            addCriterion("statisticalPhoto in", values, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoNotIn(List<String> values) {
            addCriterion("statisticalPhoto not in", values, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoBetween(String value1, String value2) {
            addCriterion("statisticalPhoto between", value1, value2, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andStatisticalphotoNotBetween(String value1, String value2) {
            addCriterion("statisticalPhoto not between", value1, value2, "statisticalphoto");
            return (Criteria) this;
        }

        public Criteria andQuestionstateIsNull() {
            addCriterion("questionState is null");
            return (Criteria) this;
        }

        public Criteria andQuestionstateIsNotNull() {
            addCriterion("questionState is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionstateEqualTo(String value) {
            addCriterion("questionState =", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateNotEqualTo(String value) {
            addCriterion("questionState <>", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateGreaterThan(String value) {
            addCriterion("questionState >", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateGreaterThanOrEqualTo(String value) {
            addCriterion("questionState >=", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateLessThan(String value) {
            addCriterion("questionState <", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateLessThanOrEqualTo(String value) {
            addCriterion("questionState <=", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateLike(String value) {
            addCriterion("questionState like", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateNotLike(String value) {
            addCriterion("questionState not like", value, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateIn(List<String> values) {
            addCriterion("questionState in", values, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateNotIn(List<String> values) {
            addCriterion("questionState not in", values, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateBetween(String value1, String value2) {
            addCriterion("questionState between", value1, value2, "questionstate");
            return (Criteria) this;
        }

        public Criteria andQuestionstateNotBetween(String value1, String value2) {
            addCriterion("questionState not between", value1, value2, "questionstate");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeIsNull() {
            addCriterion("statisticalTime is null");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeIsNotNull() {
            addCriterion("statisticalTime is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeEqualTo(String value) {
            addCriterion("statisticalTime =", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeNotEqualTo(String value) {
            addCriterion("statisticalTime <>", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeGreaterThan(String value) {
            addCriterion("statisticalTime >", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeGreaterThanOrEqualTo(String value) {
            addCriterion("statisticalTime >=", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeLessThan(String value) {
            addCriterion("statisticalTime <", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeLessThanOrEqualTo(String value) {
            addCriterion("statisticalTime <=", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeLike(String value) {
            addCriterion("statisticalTime like", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeNotLike(String value) {
            addCriterion("statisticalTime not like", value, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeIn(List<String> values) {
            addCriterion("statisticalTime in", values, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeNotIn(List<String> values) {
            addCriterion("statisticalTime not in", values, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeBetween(String value1, String value2) {
            addCriterion("statisticalTime between", value1, value2, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andStatisticaltimeNotBetween(String value1, String value2) {
            addCriterion("statisticalTime not between", value1, value2, "statisticaltime");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleIsNull() {
            addCriterion("numberOfPeople is null");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleIsNotNull() {
            addCriterion("numberOfPeople is not null");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleEqualTo(Integer value) {
            addCriterion("numberOfPeople =", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleNotEqualTo(Integer value) {
            addCriterion("numberOfPeople <>", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleGreaterThan(Integer value) {
            addCriterion("numberOfPeople >", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleGreaterThanOrEqualTo(Integer value) {
            addCriterion("numberOfPeople >=", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleLessThan(Integer value) {
            addCriterion("numberOfPeople <", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleLessThanOrEqualTo(Integer value) {
            addCriterion("numberOfPeople <=", value, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleIn(List<Integer> values) {
            addCriterion("numberOfPeople in", values, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleNotIn(List<Integer> values) {
            addCriterion("numberOfPeople not in", values, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleBetween(Integer value1, Integer value2) {
            addCriterion("numberOfPeople between", value1, value2, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andNumberofpeopleNotBetween(Integer value1, Integer value2) {
            addCriterion("numberOfPeople not between", value1, value2, "numberofpeople");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeIsNull() {
            addCriterion("questionDescribe is null");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeIsNotNull() {
            addCriterion("questionDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeEqualTo(String value) {
            addCriterion("questionDescribe =", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeNotEqualTo(String value) {
            addCriterion("questionDescribe <>", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeGreaterThan(String value) {
            addCriterion("questionDescribe >", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeGreaterThanOrEqualTo(String value) {
            addCriterion("questionDescribe >=", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeLessThan(String value) {
            addCriterion("questionDescribe <", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeLessThanOrEqualTo(String value) {
            addCriterion("questionDescribe <=", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeLike(String value) {
            addCriterion("questionDescribe like", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeNotLike(String value) {
            addCriterion("questionDescribe not like", value, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeIn(List<String> values) {
            addCriterion("questionDescribe in", values, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeNotIn(List<String> values) {
            addCriterion("questionDescribe not in", values, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeBetween(String value1, String value2) {
            addCriterion("questionDescribe between", value1, value2, "questiondescribe");
            return (Criteria) this;
        }

        public Criteria andQuestiondescribeNotBetween(String value1, String value2) {
            addCriterion("questionDescribe not between", value1, value2, "questiondescribe");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}